package com.metaera.app.utils;

import android.content.res.Resources;
import android.widget.Toast;

import com.metaera.app.MetaEraApplication;

import androidx.annotation.StringRes;

public class ToastUtils {

    public static void makeText(@StringRes int stringRes) {
        MetaEraApplication context = MetaEraApplication.sInstance;
        Resources resources = context.getResources();
        Toast.makeText(context, resources.getString(stringRes), Toast.LENGTH_SHORT).show();
    }

    public static void makeText(String string) {
        MetaEraApplication context = MetaEraApplication.sInstance;
        Toast.makeText(context, string, Toast.LENGTH_SHORT).show();
    }


}
